Apache httpd replication / proxy mirror server?
Apache httpd replication / proxy mirror server?
am 25.11.2009 15:09:29 von nino martinez wael
--0023544706746f9c530479329ba3
Content-Type: text/plain; charset=ISO-8859-1
Hi Guys
Is it possible somehow to use httpd for replicate files between servers ?
We have a use case where a user will place a file on one of the apache
servers and then it should get replicated towards the other servers..
regards Nino
--0023544706746f9c530479329ba3
Content-Type: text/html; charset=ISO-8859-1
Hi Guys
Is it possible somehow to use httpd for replicate files between servers ?
We have a use case where a user will place a file on one of the apache servers and then it should get replicated towards the other servers..
regards Nino
--0023544706746f9c530479329ba3--
Re: Apache httpd replication / proxy mirror server?
am 25.11.2009 15:11:10 von Tom Evans
--00504502c5e17530da047932a1fb
Content-Type: text/plain; charset=UTF-8
On Wed, Nov 25, 2009 at 2:09 PM, nino martinez wael <
nino.martinez.wael@gmail.com> wrote:
> Hi Guys
>
> Is it possible somehow to use httpd for replicate files between servers ?
>
> We have a use case where a user will place a file on one of the apache
> servers and then it should get replicated towards the other servers..
>
>
> regards Nino
>
No, but "man 1 rsync" should get you in the right direction.
Cheers
Tom
--00504502c5e17530da047932a1fb
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
On Wed, Nov 25, 2009 at 2:09 PM, nino martinez w=
ael
<n=
ino.martinez.wael@gmail.com> wrote:
mail_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt=
0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Guys
Is it possible somehow to use httpd for replicate files betw=
een servers ?
We have a use case where a user will place a file on o=
ne of the apache servers and then it should get replicated towards the othe=
r servers..
regards Nino
No, but "man 1 rsync" should get you in th=
e right direction.
Cheers
Tom
--00504502c5e17530da047932a1fb--
Re: Apache httpd replication / proxy mirror server?
am 25.11.2009 15:19:22 von nino martinez wael
--00163641704bc82506047932bedd
Content-Type: text/plain; charset=ISO-8859-1
hmm yeah I know, but it's on windows :/ Just wanted to know if we could stay
withing httpd for this one...
2009/11/25 Tom Evans
> On Wed, Nov 25, 2009 at 2:09 PM, nino martinez wael <
> nino.martinez.wael@gmail.com> wrote:
>
>> Hi Guys
>>
>> Is it possible somehow to use httpd for replicate files between servers ?
>>
>> We have a use case where a user will place a file on one of the apache
>> servers and then it should get replicated towards the other servers..
>>
>>
>> regards Nino
>>
>
> No, but "man 1 rsync" should get you in the right direction.
>
> Cheers
>
> Tom
>
--00163641704bc82506047932bedd
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
hmm yeah I know, but it's on windows :/ Just wanted to know if we could=
stay withing httpd for this one...
2009/=
11/25 Tom Evans
<tevans.u=
k@>
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<=
div class=3D"h5">
On Wed, Nov 25, 2009 at 2:09 PM=
, nino martinez wael
<
wael@gmail.com" target=3D"_blank">nino.martinez.wael@gmail.com>
n> wrote:
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Guys
Is it possible somehow to use httpd for replicate files betw=
een servers ?
We have a use case where a user will place a file on o=
ne of the apache servers and then it should get replicated towards the othe=
r servers..
regards Nino
No, but "man 1 rsync" should g=
et you in the right direction.
Cheers
>Tom
--00163641704bc82506047932bedd--
Re: Apache httpd replication / proxy mirror server?
am 25.11.2009 15:28:27 von Nick Kew
nino martinez wael wrote:
> hmm yeah I know, but it's on windows :/ Just wanted to know if we could
> stay withing httpd for this one...
It's not apache's business. But you could add a CMS that manages
replication. Or store the data in a replicating database.
Or variants on that theme.
Or of course you could write (or google for) a replication module.
--
Nick Kew
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Apache httpd replication / proxy mirror server?
am 25.11.2009 15:54:46 von nino martinez wael
--00163649968f6256c50479333dfa
Content-Type: text/plain; charset=ISO-8859-1
True it's not apaches business, but would be stupid if it was possible,
hence me asking. I did a search for replication module but could'nt find
anything, so I figured that I either searched with wrong words or it was not
possible. Asking this list was then my best shot.
Forgot to say thanks to Tom for the quick answer.. And thanks to you (Nick)
for the suggestions.
Regards Nino
2009/11/25 Nick Kew
> nino martinez wael wrote:
>
>> hmm yeah I know, but it's on windows :/ Just wanted to know if we could
>> stay withing httpd for this one...
>>
>
> It's not apache's business. But you could add a CMS that manages
> replication. Or store the data in a replicating database.
> Or variants on that theme.
>
> Or of course you could write (or google for) a replication module.
>
> --
> Nick Kew
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
--00163649968f6256c50479333dfa
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
True it's not apaches business, but would be stupid if it was possible,=
hence me asking. I did a search for replication module but could'nt fi=
nd anything, so I figured that I either searched with wrong words or it was=
not possible. Asking this list was then my best shot.
Forgot to say thanks to Tom for the quick answer.. And thanks to you (N=
ick) for the suggestions.
Regards Nino
ote">2009/11/25 Nick Kew <
ing.com">nick@webthing.com>
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
>nino martinez wael wrote:
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hmm yeah I know, but it's on windows :/ Just wanted to know if we could=
stay withing httpd for this one...
It's not apache's business. =A0But you could add a CMS that manages=
replication. =A0Or store the data in a replicating database.
Or variants on that theme.
Or of course you could write (or google for) a replication module.
--
Nick Kew
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL:
lank">http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail:
g" target=3D"_blank">users-unsubscribe@httpd.apache.org
=A0" =A0 from the digest:
httpd.apache.org" target=3D"_blank">users-digest-unsubscribe@httpd.apache.o=
rg
For additional commands, e-mail:
org" target=3D"_blank">users-help@httpd.apache.org
--00163649968f6256c50479333dfa--
Re: Apache httpd replication / proxy mirror server?
am 25.11.2009 16:16:44 von aw
nino martinez wael wrote:
> hmm yeah I know, but it's on windows :/ Just wanted to know if we could stay
> withing httpd for this one...
>
Well, exactly /how/ do the users put files on this server ?
You have not even explained if they put these files there using Apache
somehow.
There is nothing that I know of in Apache itself that will do that, but
it may be possible to add something. Describe your issue a bit more in
detail, and it may give ideas to someone.
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Apache httpd replication / proxy mirror server?
am 25.11.2009 17:50:11 von nino martinez wael
--0015175cd0821d871a047934dabc
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
It's a bit complicated. So I'll try to explain it in a simple way.
The user are calling(via phone) an IVR application which in turns interpret=
s
vxml. The vxml page then has an option to record and save the recording.
When the vxml page saves the recording it saves towards tomcat which then
places the file in a repository which then are served by Apache httpd, we
have more apache http servers for failover and it's here the need for
replication comes.
All this we can code our way out of, but if there's something already that
does this it would be nice with some recycling. I was thinking that the
Apache http server that got the new file could push it to the others.
Regards Nino
2009/11/25 Andr=E9 Warnier
> nino martinez wael wrote:
>
>> hmm yeah I know, but it's on windows :/ Just wanted to know if we could
>> stay
>> withing httpd for this one...
>>
>> Well, exactly /how/ do the users put files on this server ?
>
> You have not even explained if they put these files there using Apache
> somehow.
> There is nothing that I know of in Apache itself that will do that, but i=
t
> may be possible to add something. Describe your issue a bit more in deta=
il,
> and it may give ideas to someone.
>
>
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project=
..
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
--0015175cd0821d871a047934dabc
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
It's a bit complicated. So I'll try to explain it in a simple way.<=
br>
The user are calling(via phone) an IVR application which in turns in=
terprets vxml. The vxml page then has an option to record and save the reco=
rding. When the vxml page saves the recording it saves towards tomcat which=
then places the file in a repository which then are served by Apache httpd=
, we have more apache http servers for failover and it's here the need =
for replication comes.
All this we can code our way out of, but if there's something alrea=
dy that does this it would be nice with some recycling. I was thinking that=
the Apache http server that got the new file could push it to the others.<=
br>
Regards Nino
2009/11/25 Andr=E9 W=
arnier
<aw@ice-sa.com=
>
1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;=
">
nino martinez wael wrote:
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hmm yeah I know, but it's on windows :/ Just wanted to know if we could=
stay
withing httpd for this one...
Well, exactly /how/ do the users put files on this server ?
You have not even explained if they put these files there using Apache some=
how.
There is nothing that I know of in Apache itself that will do that, but it =
may be possible to add something. =A0Describe your issue a bit more in deta=
il, and it may give ideas to someone.
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL:
lank">http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail:
g" target=3D"_blank">users-unsubscribe@httpd.apache.org
=A0" =A0 from the digest:
httpd.apache.org" target=3D"_blank">users-digest-unsubscribe@httpd.apache.o=
rg
For additional commands, e-mail:
org" target=3D"_blank">users-help@httpd.apache.org
--0015175cd0821d871a047934dabc--
Re: Apache httpd replication / proxy mirror server?
am 25.11.2009 19:44:23 von aw
nino martinez wael wrote:
> It's a bit complicated. So I'll try to explain it in a simple way.
>
> The user are calling(via phone) an IVR application which in turns interprets
> vxml. The vxml page then has an option to record and save the recording.
> When the vxml page saves the recording it saves towards tomcat which then
> places the file in a repository which then are served by Apache httpd, we
> have more apache http servers for failover and it's here the need for
> replication comes.
>
> All this we can code our way out of, but if there's something already that
> does this it would be nice with some recycling. I was thinking that the
> Apache http server that got the new file could push it to the others.
>
Allright. I have no idea what IVR is and no wish to look up another
acronym, but I think I get the idea.
So, the answer is still no, there isn't a standard Apache module that
will do that kind of synchronisation. Specially since the way you
explain it, Apache itself has no idea that this file has been loaded in
the first place, nor where.
So it is either taking care of it at the level of your own code, or use
rsync as someone else suggested earlier (and which is probably the best
idea overall).
rsync also works under Windows, we use it.
And if you have trouble setting it up, nowadays setting up a Linux box
is really not difficult. You could set up one just to do that, which
would take care of synchronising between all your servers. It is very
efficient, as it will only copy whatever changes, even within files.
As for the ideas I was referring to earlier, it would have been
different if the files were uploaded via DAV for example, because then
Apache /would/ know.
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Apache httpd replication / proxy mirror server?
am 26.11.2009 13:05:28 von nino martinez wael
--0016361640c5c01728047944fd81
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Yeah that was some of my thoughts aswell. But even if we pushed towards dav
it wouldn't help us right?
Thanks for the note about rsync.
Regards Nino
2009/11/25 Andr=E9 Warnier
> nino martinez wael wrote:
>
>> It's a bit complicated. So I'll try to explain it in a simple way.
>>
>> The user are calling(via phone) an IVR application which in turns
>> interprets
>> vxml. The vxml page then has an option to record and save the recording.
>> When the vxml page saves the recording it saves towards tomcat which the=
n
>> places the file in a repository which then are served by Apache httpd, w=
e
>> have more apache http servers for failover and it's here the need for
>> replication comes.
>>
>> All this we can code our way out of, but if there's something already th=
at
>> does this it would be nice with some recycling. I was thinking that the
>> Apache http server that got the new file could push it to the others.
>>
>> Allright. I have no idea what IVR is and no wish to look up another
> acronym, but I think I get the idea.
> So, the answer is still no, there isn't a standard Apache module that wil=
l
> do that kind of synchronisation. Specially since the way you explain it,
> Apache itself has no idea that this file has been loaded in the first pla=
ce,
> nor where.
> So it is either taking care of it at the level of your own code, or use
> rsync as someone else suggested earlier (and which is probably the best i=
dea
> overall).
> rsync also works under Windows, we use it.
> And if you have trouble setting it up, nowadays setting up a Linux box is
> really not difficult. You could set up one just to do that, which would
> take care of synchronising between all your servers. It is very efficien=
t,
> as it will only copy whatever changes, even within files.
>
> As for the ideas I was referring to earlier, it would have been different
> if the files were uploaded via DAV for example, because then Apache /woul=
d/
> know.
>
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project=
..
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
--0016361640c5c01728047944fd81
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Yeah that was some of my thoughts aswell. But even if we pushed towards dav=
it wouldn't help us right?
Thanks for the note about rsync.=
Regards Nino
2009/11/25 Andr=E9 W=
arnier
<aw@ice-sa.com=
>
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
>nino martinez wael wrote:
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
It's a bit complicated. So I'll try to explain it in a simple way.<=
br>
The user are calling(via phone) an IVR application which in turns interpret=
s
vxml. The vxml page then has an option to record and save the recording.
>
When the vxml page saves the recording it saves towards tomcat which then
r>
places the file in a repository which then are served by Apache httpd, we
r>
have more apache http servers for failover and it's here the need for
r>
replication comes.
All this we can code our way out of, but if there's something already t=
hat
does this it would be nice with some recycling. I was thinking that the
Apache http server that got the new file could push it to the others.
Allright. I have no idea what IVR is and no wish to look up another acronym=
, but I think I get the idea.
So, the answer is still no, there isn't a standard Apache module that w=
ill do that kind of synchronisation. =A0Specially since the way you explain=
it, Apache itself has no idea that this file has been loaded in the first =
place, nor where.
So it is either taking care of it at the level of your own code, or use rsy=
nc as someone else suggested earlier (and which is probably the best idea o=
verall).
rsync also works under Windows, we use it.
And if you have trouble setting it up, nowadays setting up a Linux box is r=
eally not difficult. =A0You could set up one just to do that, which would t=
ake care of synchronising between all your servers. =A0It is very efficient=
, as it will only copy whatever changes, even within files.
As for the ideas I was referring to earlier, it would have been different i=
f the files were uploaded via DAV for example, because then Apache /would/ =
know.
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL:
lank">http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail:
g" target=3D"_blank">users-unsubscribe@httpd.apache.org
=A0" =A0 from the digest:
httpd.apache.org" target=3D"_blank">users-digest-unsubscribe@httpd.apache.o=
rg
For additional commands, e-mail:
org" target=3D"_blank">users-help@httpd.apache.org
--0016361640c5c01728047944fd81--